package cn.zhoutingrui.pethome.system.emp.mapper;
import cn.zhoutingrui.pethome.base.mapper.BaseMapper;
import cn.zhoutingrui.pethome.system.emp.domain.EmpEchart;
import cn.zhoutingrui.pethome.system.emp.domain.Employee;
import cn.zhoutingrui.pethome.system.emp.domain.EmployeeBo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {
    //查询bo
    List<EmployeeBo> findAllBo();
    List<EmpEchart> findByEchart();

    Employee findByLogininfoId(Long logininfoId);

    Long findRoleByEmp(Long id);
}
